package com.emip.service;

import java.util.List;

import com.emip.bean.MonthStoreBean;

public interface MonthStoreService {
	public List<MonthStoreBean> getByTimespan(int startYear, int startMonth, 
			int endYear, int endMonth, String[] itemIds, String siteId);
	public List<MonthStoreBean> getByTimespan(int startYear, int startMonth, 
			int endYear, int endMonth, String[] itemIds, String siteId, int page, int size);
	public long getCount(int startYear, int startMonth, 
			int endYear, int endMonth, String[] itemIds, String siteId);
	public MonthStoreBean merge(MonthStoreBean store);
	String getLastDate(String itemId, String siteId);
	public Object[] getStatistics(int startYear, int startMonth, 
			int endYear, int endMonth, String itemIds, String siteId);
	public MonthStoreBean findByMonth(String year, String month, String siteId, String itemId);
}
